package com.sqsf.test;

import com.sqsf.javabean.User;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@ContextConfiguration("classpath:spring.xml")
public class MyTest {
    @Autowired
    User user;

    @Test
    public void user(){
        System.out.println(user);
    }
}